package com.twu.biblioteca;

import java.util.LinkedList;
import java.util.List;

public class Library {

    public static List<Book> books = new LinkedList<Book>();
    public static List<Movie> movies = new LinkedList<Movie>();
    public static List<User> users = new LinkedList<User>();

    public static List<Book> addBookToLibrary(Book book) {

        books.add(book);
        return books;
    }

    public static List<Movie> addMovieToLibrary(Movie movie) {

        movies.add(movie);
        return movies;
    }

    public static List<User> addUserToLibrary(User user) {

        users.add(user);
        return users;
    }

}
